[gd_scene load_steps=13 format=2]

[ext_resource path="res://scripts/Grid.gd" type="Script" id=1]
[ext_resource path="res://scripts/SEA.gd" type="Script" id=2]
[ext_resource path="res://scripts/SKY.gd" type="Script" id=3]
[ext_resource path="res://scripts/UberFader.gd" type="Script" id=4]
[ext_resource path="res://shaders/blur3.shader" type="Shader" id=5]
[ext_resource path="res://shaders/white.png" type="Texture" id=6]
[ext_resource path="res://scripts/DIALOGUE_BOX.gd" type="Script" id=7]
[ext_resource path="res://scripts/BLURRER.gd" type="Script" id=8]
[ext_resource path="res://scripts/Fader.gd" type="Script" id=9]
[ext_resource path="res://scripts/BG_MUSIC.gd" type="Script" id=10]
[ext_resource path="res://music/little_branches.ogg" type="AudioStream" id=11]

[sub_resource type="ShaderMaterial" id=1]
shader = ExtResource( 5 )
shader_param/radius = 0.009

[node name="MAIN" type="Node2D"]

[node name="SKY" type="Polygon2D" parent="."]
position = Vector2( 0, 30.676 )
z_index = -5
color = Color( 0.168627, 0.109804, 0, 1 )
polygon = PoolVector2Array( 85.2939, -42, -86.1105, -28.8561, -90.7061, 269, -86.7061, 481, -9.90948, 627.201, 1057.83, 609.201, 1052.5, -49.4603 )
script = ExtResource( 3 )

[node name="GRID" type="Node2D" parent="."]
position = Vector2( 24, 408 )
z_index = 1
script = ExtResource( 1 )

[node name="Projection_Timer" type="Timer" parent="GRID"]
wait_time = 2.0
autostart = true

[node name="SEA" type="Polygon2D" parent="."]
position = Vector2( 0, 415 )
z_index = 2
color = Color( 0.0862745, 0.054902, 0, 0.384314 )
polygon = PoolVector2Array( 85.2939, -42, -83.7061, 19, -90.7061, 269, -86.7061, 481, -9.09342, 404.564, 512.907, 400.564, 1058.5, 348.947, 1211.51, 220.398, 1136.51, -45.6024 )
script = ExtResource( 2 )

[node name="BLURRER" type="Polygon2D" parent="."]
material = SubResource( 1 )
z_index = 3
color = Color( 0, 0, 0, 1 )
texture = ExtResource( 6 )
polygon = PoolVector2Array( -115.294, 60.7343, 15.706, -48.2657, 670.706, -59.2657, 1076.23, -23.2657, 1144.23, 442.734, 964.229, 761.09, -55.3158, 726.09 )
script = ExtResource( 8 )

[node name="UBER_FADER" type="Polygon2D" parent="."]
visible = false
z_index = 5
color = Color( 0, 0, 0, 1 )
polygon = PoolVector2Array( -115.294, 60.7343, 15.706, -48.2657, 670.706, -59.2657, 1076.23, -23.2657, 1144.23, 442.734, 964.229, 761.09, -55.3158, 726.09 )
script = ExtResource( 4 )

[node name="DIALOGUE_BOX" type="Node2D" parent="."]
visible = false
z_index = 4
script = ExtResource( 7 )

[node name="MASTER_FADER" type="Polygon2D" parent="."]
visible = false
z_index = 20
z_as_relative = false
color = Color( 0, 0, 0, 1 )
polygon = PoolVector2Array( -115.294, 60.7343, 15.706, -48.2657, 670.706, -59.2657, 1076.23, -23.2657, 1144.23, 442.734, 964.229, 761.09, -55.3158, 726.09 )
script = ExtResource( 9 )

[node name="BG_MUSIC" type="AudioStreamPlayer2D" parent="."]
position = Vector2( 595, 285 )
stream = ExtResource( 11 )
volume_db = 1.253
autoplay = true
max_distance = 500.0
attenuation = 2.0
script = ExtResource( 10 )
[connection signal="timeout" from="GRID/Projection_Timer" to="GRID" method="_on_Projection_Timer_timeout"]
